module Dizhen::SchoolsHelper
  include ::SchoolsHelper
  
  def area_name(id)
    return Area.disasters.index(id).to_s
  end

  def count_display(count)
    color = count>0 ? "red" : "gray"
    "<span style=\"color:#{color}\">#{count}</span>"
  end
end